import os
dirs = os.listdir("D:\\renpy_project\\+"+"\\game\\images")
for dir in dirs:
    print("image bg "+dir[0:len(dir)-4] + " = \""+dir+"\"")